<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>收件箱 - 素材火 Admin</title>

        <meta name="description" content="Mailbox with some customizations as described in docs" />
        <meta name="viewport" content="width=device-width, initial-scale=1.0" />

        <!-- basic styles -->

        <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
        <link rel="stylesheet" href="assets/css/font-awesome.min.css" />

        <!--[if IE 7]>
          <link rel="stylesheet" href="assets/css/font-awesome-ie7.min.css" />
        <![endif]-->

        <!-- page specific plugin styles -->

        <!-- fonts -->

        <link rel="stylesheet" href="assets/css/ace-fonts.css" />

        <!-- ace styles -->

        <link rel="stylesheet" href="assets/css/ace.min.css" />
        <link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
        <link rel="stylesheet" href="assets/css/ace-skins.min.css" />

        <!--[if lte IE 8]>
          <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
        <![endif]-->

        <!-- inline styles related to this page -->

        <!-- ace settings handler -->

        <script src="assets/js/ace-extra.min.js"></script>

        <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

        <!--[if lt IE 9]>
        <script src="assets/js/html5shiv.js"></script>
        <script src="assets/js/respond.min.js"></script>
        <![endif]-->
    </head>

    <body>
        <div class="navbar navbar-default" id="navbar">
            <script type="text/javascript">
                try {
                    ace.settings.check('navbar', 'fixed')
                } catch (e) {
                }
            </script>

            <div class="navbar-container" id="navbar-container">
                <div class="navbar-header pull-left">
                    <a href="#" class="navbar-brand">
                        <small>
                            <i class="icon-leaf"></i>
                            Ace Admin
                        </small>
                    </a><!-- /.brand -->
                </div><!-- /.navbar-header -->

                <div class="navbar-header pull-right" role="navigation">
                    <ul class="nav ace-nav">
                        <li class="grey">
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <i class="icon-tasks"></i>
                                <span class="badge badge-grey">4</span>
                            </a>

                            <ul class="pull-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
                                <li class="dropdown-header">
                                    <i class="icon-ok"></i>
                                    4 Tasks to complete
                                </li>

                                <li>
                                    <a href="#">
                                        <div class="clearfix">
                                            <span class="pull-left">Software Update</span>
                                            <span class="pull-right">65%</span>
                                        </div>

                                        <div class="progress progress-mini ">
                                            <div style="width:65%" class="progress-bar "></div>
                                        </div>
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <div class="clearfix">
                                            <span class="pull-left">Hardware Upgrade</span>
                                            <span class="pull-right">35%</span>
                                        </div>

                                        <div class="progress progress-mini ">
                                            <div style="width:35%" class="progress-bar progress-bar-danger"></div>
                                        </div>
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <div class="clearfix">
                                            <span class="pull-left">Unit Testing</span>
                                            <span class="pull-right">15%</span>
                                        </div>

                                        <div class="progress progress-mini ">
                                            <div style="width:15%" class="progress-bar progress-bar-warning"></div>
                                        </div>
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <div class="clearfix">
                                            <span class="pull-left">Bug Fixes</span>
                                            <span class="pull-right">90%</span>
                                        </div>

                                        <div class="progress progress-mini progress-striped active">
                                            <div style="width:90%" class="progress-bar progress-bar-success"></div>
                                        </div>
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        See tasks with details
                                        <i class="icon-arrow-right"></i>
                                    </a>
                                </li>
                            </ul>
                        </li>

                        <li class="purple">
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <i class="icon-bell-alt icon-animated-bell"></i>
                                <span class="badge badge-important">8</span>
                            </a>

                            <ul class="pull-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
                                <li class="dropdown-header">
                                    <i class="icon-warning-sign"></i>
                                    8 Notifications
                                </li>

                                <li>
                                    <a href="#">
                                        <div class="clearfix">
                                            <span class="pull-left">
                                                <i class="btn btn-xs no-hover btn-pink icon-comment"></i>
                                                New Comments
                                            </span>
                                            <span class="pull-right badge badge-info">+12</span>
                                        </div>
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <i class="btn btn-xs btn-primary icon-user"></i>
                                        Bob just signed up as an editor ...
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <div class="clearfix">
                                            <span class="pull-left">
                                                <i class="btn btn-xs no-hover btn-success icon-shopping-cart"></i>
                                                New Orders
                                            </span>
                                            <span class="pull-right badge badge-success">+8</span>
                                        </div>
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <div class="clearfix">
                                            <span class="pull-left">
                                                <i class="btn btn-xs no-hover btn-info icon-twitter"></i>
                                                Followers
                                            </span>
                                            <span class="pull-right badge badge-info">+11</span>
                                        </div>
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        See all notifications
                                        <i class="icon-arrow-right"></i>
                                    </a>
                                </li>
                            </ul>
                        </li>

                        <li class="green">
                            <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                <i class="icon-envelope icon-animated-vertical"></i>
                                <span class="badge badge-success">5</span>
                            </a>

                            <ul class="pull-right dropdown-navbar dropdown-menu dropdown-caret dropdown-close">
                                <li class="dropdown-header">
                                    <i class="icon-envelope-alt"></i>
                                    5 Messages
                                </li>

                                <li>
                                    <a href="#">
                                        <img src="assets/avatars/avatar.png" class="msg-photo" alt="Alex's Avatar" />
                                        <span class="msg-body">
                                            <span class="msg-title">
                                                <span class="blue">Alex:</span>
                                                Ciao sociis natoque penatibus et auctor ...
                                            </span>

                                            <span class="msg-time">
                                                <i class="icon-time"></i>
                                                <span>a moment ago</span>
                                            </span>
                                        </span>
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <img src="assets/avatars/avatar3.png" class="msg-photo" alt="Susan's Avatar" />
                                        <span class="msg-body">
                                            <span class="msg-title">
                                                <span class="blue">Susan:</span>
                                                Vestibulum id ligula porta felis euismod ...
                                            </span>

                                            <span class="msg-time">
                                                <i class="icon-time"></i>
                                                <span>20 minutes ago</span>
                                            </span>
                                        </span>
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <img src="assets/avatars/avatar4.png" class="msg-photo" alt="Bob's Avatar" />
                                        <span class="msg-body">
                                            <span class="msg-title">
                                                <span class="blue">Bob:</span>
                                                Nullam quis risus eget urna mollis ornare ...
                                            </span>

                                            <span class="msg-time">
                                                <i class="icon-time"></i>
                                                <span>3:15 pm</span>
                                            </span>
                                        </span>
                                    </a>
                                </li>

                                <li>
                                    <a href="inbox.html">
                                        See all messages
                                        <i class="icon-arrow-right"></i>
                                    </a>
                                </li>
                            </ul>
                        </li>

                        <li class="light-blue">
                            <a data-toggle="dropdown" href="#" class="dropdown-toggle">
                                <img class="nav-user-photo" src="assets/avatars/user.jpg" alt="Jason's Photo" />
                                <span class="user-info">
                                    <small>Welcome,</small>
                                    Jason
                                </span>

                                <i class="icon-caret-down"></i>
                            </a>

                            <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
                                <li>
                                    <a href="#">
                                        <i class="icon-cog"></i>
                                        Settings
                                    </a>
                                </li>

                                <li>
                                    <a href="#">
                                        <i class="icon-user"></i>
                                        Profile
                                    </a>
                                </li>

                                <li class="divider"></li>

                                <li>
                                    <a href="#">
                                        <i class="icon-off"></i>
                                        Logout
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul><!-- /.ace-nav -->
                </div><!-- /.navbar-header -->
            </div><!-- /.container -->
        </div>

        <div class="main-container" id="main-container">
            <script type="text/javascript">
                try {
                    ace.settings.check('main-container', 'fixed')
                } catch (e) {
                }
            </script>

            <div class="main-container-inner">
                <a class="menu-toggler" id="menu-toggler" href="#">
                    <span class="menu-text"></span>
                </a>

                <div class="sidebar" id="sidebar">
                    <script type="text/javascript">
                        try {
                            ace.settings.check('sidebar', 'fixed')
                        } catch (e) {
                        }
                    </script>

                    <div class="sidebar-shortcuts" id="sidebar-shortcuts">
                        <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
                            <button class="btn btn-success">
                                <i class="icon-signal"></i>
                            </button>

                            <button class="btn btn-info">
                                <i class="icon-pencil"></i>
                            </button>

                            <button class="btn btn-warning">
                                <i class="icon-group"></i>
                            </button>

                            <button class="btn btn-danger">
                                <i class="icon-cogs"></i>
                            </button>
                        </div>

                        <div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
                            <span class="btn btn-success"></span>

                            <span class="btn btn-info"></span>

                            <span class="btn btn-warning"></span>

                            <span class="btn btn-danger"></span>
                        </div>
                    </div><!-- #sidebar-shortcuts -->

                    <ul class="nav nav-list">
                        <li>
                            <a href="index.html">
                                <i class="icon-dashboard"></i>
                                <span class="menu-text"> Dashboard </span>
                            </a>
                        </li>

                        <li>
                            <a href="typography.html">
                                <i class="icon-text-width"></i>
                                <span class="menu-text"> Typography </span>
                            </a>
                        </li>

                        <li>
                            <a href="#" class="dropdown-toggle">
                                <i class="icon-desktop"></i>
                                <span class="menu-text"> UI Elements </span>

                                <b class="arrow icon-angle-down"></b>
                            </a>

                            <ul class="submenu">
                                <li>
                                    <a href="elements.html">
                                        <i class="icon-double-angle-right"></i>
                                        Elements
                                    </a>
                                </li>

                                <li>
                                    <a href="buttons.html">
                                        <i class="icon-double-angle-right"></i>
                                        Buttons &amp; Icons
                                    </a>
                                </li>

                                <li>
                                    <a href="treeview.html">
                                        <i class="icon-double-angle-right"></i>
                                        Treeview
                                    </a>
                                </li>

                                <li>
                                    <a href="jquery-ui.html">
                                        <i class="icon-double-angle-right"></i>
                                        jQuery UI
                                    </a>
                                </li>

                                <li>
                                    <a href="nestable-list.html">
                                        <i class="icon-double-angle-right"></i>
                                        Nestable Lists
                                    </a>
                                </li>

                                <li>
                                    <a href="#" class="dropdown-toggle">
                                        <i class="icon-double-angle-right"></i>

                                        Three Level Menu
                                        <b class="arrow icon-angle-down"></b>
                                    </a>

                                    <ul class="submenu">
                                        <li>
                                            <a href="#">
                                                <i class="icon-leaf"></i>
                                                Item #1
                                            </a>
                                        </li>

                                        <li>
                                            <a href="#" class="dropdown-toggle">
                                                <i class="icon-pencil"></i>

                                                4th level
                                                <b class="arrow icon-angle-down"></b>
                                            </a>

                                            <ul class="submenu">
                                                <li>
                                                    <a href="#">
                                                        <i class="icon-plus"></i>
                                                        Add Product
                                                    </a>
                                                </li>

                                                <li>
                                                    <a href="#">
                                                        <i class="icon-eye-open"></i>
                                                        View Products
                                                    </a>
                                                </li>
                                            </ul>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </li>

                        <li>
                            <a href="#" class="dropdown-toggle">
                                <i class="icon-list"></i>
                                <span class="menu-text"> Tables </span>

                                <b class="arrow icon-angle-down"></b>
                            </a>

                            <ul class="submenu">
                                <li>
                                    <a href="tables.html">
                                        <i class="icon-double-angle-right"></i>
                                        Simple &amp; Dynamic
                                    </a>
                                </li>

                                <li>
                                    <a href="jqgrid.html">
                                        <i class="icon-double-angle-right"></i>
                                        jqGrid plugin
                                    </a>
                                </li>
                            </ul>
                        </li>

                        <li>
                            <a href="#" class="dropdown-toggle">
                                <i class="icon-edit"></i>
                                <span class="menu-text"> Forms </span>

                                <b class="arrow icon-angle-down"></b>
                            </a>

                            <ul class="submenu">
                                <li>
                                    <a href="form-elements.html">
                                        <i class="icon-double-angle-right"></i>
                                        Form Elements
                                    </a>
                                </li>

                                <li>
                                    <a href="form-wizard.html">
                                        <i class="icon-double-angle-right"></i>
                                        Wizard &amp; Validation
                                    </a>
                                </li>

                                <li>
                                    <a href="wysiwyg.html">
                                        <i class="icon-double-angle-right"></i>
                                        Wysiwyg &amp; Markdown
                                    </a>
                                </li>

                                <li>
                                    <a href="dropzone.html">
                                        <i class="icon-double-angle-right"></i>
                                        Dropzone File Upload
                                    </a>
                                </li>
                            </ul>
                        </li>

                        <li>
                            <a href="widgets.html">
                                <i class="icon-list-alt"></i>
                                <span class="menu-text"> Widgets </span>
                            </a>
                        </li>

                        <li>
                            <a href="calendar.html">
                                <i class="icon-calendar"></i>

                                <span class="menu-text">
                                    Calendar
                                    <span class="badge badge-transparent tooltip-error" title="2&nbsp;Important&nbsp;Events">
                                        <i class="icon-warning-sign red bigger-130"></i>
                                    </span>
                                </span>
                            </a>
                        </li>

                        <li>
                            <a href="gallery.html">
                                <i class="icon-picture"></i>
                                <span class="menu-text"> Gallery </span>
                            </a>
                        </li>

                        <li class="active open">
                            <a href="#" class="dropdown-toggle">
                                <i class="icon-tag"></i>
                                <span class="menu-text"> More Pages </span>

                                <b class="arrow icon-angle-down"></b>
                            </a>

                            <ul class="submenu">
                                <li>
                                    <a href="profile.html">
                                        <i class="icon-double-angle-right"></i>
                                        User Profile
                                    </a>
                                </li>

                                <li class="active">
                                    <a href="inbox.html">
                                        <i class="icon-double-angle-right"></i>
                                        Inbox
                                    </a>
                                </li>

                                <li>
                                    <a href="pricing.html">
                                        <i class="icon-double-angle-right"></i>
                                        Pricing Tables
                                    </a>
                                </li>

                                <li>
                                    <a href="invoice.html">
                                        <i class="icon-double-angle-right"></i>
                                        Invoice
                                    </a>
                                </li>

                                <li>
                                    <a href="timeline.html">
                                        <i class="icon-double-angle-right"></i>
                                        Timeline
                                    </a>
                                </li>

                                <li>
                                    <a href="login.html">
                                        <i class="icon-double-angle-right"></i>
                                        Login &amp; Register
                                    </a>
                                </li>
                            </ul>
                        </li>

                        <li>
                            <a href="#" class="dropdown-toggle">
                                <i class="icon-file-alt"></i>

                                <span class="menu-text">
                                    Other Pages
                                    <span class="badge badge-primary ">5</span>
                                </span>

                                <b class="arrow icon-angle-down"></b>
                            </a>

                            <ul class="submenu">
                                <li>
                                    <a href="faq.html">
                                        <i class="icon-double-angle-right"></i>
                                        FAQ
                                    </a>
                                </li>

                                <li>
                                    <a href="error-404.html">
                                        <i class="icon-double-angle-right"></i>
                                        Error 404
                                    </a>
                                </li>

                                <li>
                                    <a href="error-500.html">
                                        <i class="icon-double-angle-right"></i>
                                        Error 500
                                    </a>
                                </li>

                                <li>
                                    <a href="grid.html">
                                        <i class="icon-double-angle-right"></i>
                                        Grid
                                    </a>
                                </li>

                                <li>
                                    <a href="blank.html">
                                        <i class="icon-double-angle-right"></i>
                                        Blank Page
                                    </a>
                                </li>
                            </ul>
                        </li>
                    </ul><!-- /.nav-list -->

                    <div class="sidebar-collapse" id="sidebar-collapse">
                        <i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
                    </div>

                    <script type="text/javascript">
                        try {
                            ace.settings.check('sidebar', 'collapsed')
                        } catch (e) {
                        }
                    </script>
                </div>

                <div class="main-content">
                    <div class="breadcrumbs" id="breadcrumbs">
                        <script type="text/javascript">
                            try {
                                ace.settings.check('breadcrumbs', 'fixed')
                            } catch (e) {
                            }
                        </script>

                        <ul class="breadcrumb">
                            <li>
                                <i class="icon-home home-icon"></i>
                                <a href="#">Home</a>
                            </li>

                            <li>
                                <a href="#">More Pages</a>
                            </li>
                            <li class="active">Inbox</li>
                        </ul><!-- .breadcrumb -->

                        <div class="nav-search" id="nav-search">
                            <form class="form-search">
                                <span class="input-icon">
                                    <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
                                    <i class="icon-search nav-search-icon"></i>
                                </span>
                            </form>
                        </div><!-- #nav-search -->
                    </div>

                    <div class="page-content">
                        <div class="page-header">
                            <h1>
                                Inbox
                                <small>
                                    <i class="icon-double-angle-right"></i>
                                    Mailbox with some customizations as described in docs
                                </small>
                            </h1>
                        </div><!-- /.page-header -->

                        <div class="row">
                            <div class="col-xs-12">
                                <!-- PAGE CONTENT BEGINS -->

                                <div class="row">
                                    <div class="col-xs-12">
                                        <div class="tabbable">
                                            <ul id="inbox-tabs" class="inbox-tabs nav nav-tabs padding-16 tab-size-bigger tab-space-1">
                                                <li class="li-new-mail pull-right">
                                                    <a data-toggle="tab" href="#write" data-target="write" class="btn-new-mail">
                                                        <span class="btn bt1n-small btn-purple no-border">
                                                            <i class=" icon-envelope bigger-130"></i>
                                                            <span class="bigger-110">Write Mail</span>
                                                        </span>
                                                    </a>
                                                </li><!-- ./li-new-mail -->

                                                <li class="active">
                                                    <a data-toggle="tab" href="#inbox" data-target="inbox">
                                                        <i class="blue icon-inbox bigger-130"></i>
                                                        <span class="bigger-110">Inbox</span>
                                                    </a>
                                                </li>

                                                <li>
                                                    <a data-toggle="tab" href="#sent" data-target="sent">
                                                        <i class="orange icon-location-arrow bigger-130 "></i>
                                                        <span class="bigger-110">Sent</span>
                                                    </a>
                                                </li>

                                                <li>
                                                    <a data-toggle="tab" href="#draft" data-target="draft">
                                                        <i class="green icon-pencil bigger-130"></i>
                                                        <span class="bigger-110">Draft</span>
                                                    </a>
                                                </li>

                                                <li class="dropdown">
                                                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                                                        <i class="pink icon-tags bigger-130"></i>

                                                        <span class="bigger-110">
                                                            Tags
                                                            <i class="icon-caret-down"></i>
                                                        </span>
                                                    </a>

                                                    <ul class="dropdown-menu dropdown-light-blue dropdown-125">
                                                        <li>
                                                            <a data-toggle="tab" href="#tag-1" data-target="tag-1">
                                                                <span class="mail-tag badge badge-pink"></span>
                                                                <span class="pink">Tag#1</span>
                                                            </a>
                                                        </li>

                                                        <li>
                                                            <a data-toggle="tab" href="#tag-family" data-target="tag-family">
                                                                <span class="mail-tag badge badge-success"></span>
                                                                <span class="green">Family</span>
                                                            </a>
                                                        </li>

                                                        <li>
                                                            <a data-toggle="tab" href="#tag-friends" data-target="tag-friends">
                                                                <span class="mail-tag badge badge-info"></span>
                                                                <span class="blue">Friends</span>
                                                            </a>
                                                        </li>

                                                        <li>
                                                            <a data-toggle="tab" href="#tag-work" data-target="tag-work">
                                                                <span class="mail-tag badge badge-grey"></span>
                                                                <span class="grey">Work</span>
                                                            </a>
                                                        </li>
                                                    </ul>
                                                </li><!-- /.dropdown -->
                                            </ul>

                                            <div class="tab-content no-border no-padding">
                                                <div class="tab-pane in active">
                                                    <div class="message-container">
                                                        <div id="id-message-list-navbar" class="message-navbar align-center clearfix">
                                                            <div class="message-bar">
                                                                <div class="message-infobar" id="id-message-infobar">
                                                                    <span class="blue bigger-150">Inbox</span>
                                                                    <span class="grey bigger-110">(2 unread messages)</span>
                                                                </div>

                                                                <div class="message-toolbar hide">
                                                                    <div class="inline position-relative align-left">
                                                                        <a href="#" class="btn-message btn btn-xs dropdown-toggle" data-toggle="dropdown">
                                                                            <span class="bigger-110">Action</span>

                                                                            <i class="icon-caret-down icon-on-right"></i>
                                                                        </a>

                                                                        <ul class="dropdown-menu dropdown-lighter dropdown-caret dropdown-125">
                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-mail-reply blue"></i>
                                                                                    &nbsp; Reply
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-mail-forward green"></i>
                                                                                    &nbsp; Forward
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-folder-open orange"></i>
                                                                                    &nbsp; Archive
                                                                                </a>
                                                                            </li>

                                                                            <li class="divider"></li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-eye-open blue"></i>
                                                                                    &nbsp; Mark as read
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-eye-close green"></i>
                                                                                    &nbsp; Mark unread
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-flag-alt red"></i>
                                                                                    &nbsp; Flag
                                                                                </a>
                                                                            </li>

                                                                            <li class="divider"></li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-trash red bigger-110"></i>
                                                                                    &nbsp; Delete
                                                                                </a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>

                                                                    <div class="inline position-relative align-left">
                                                                        <a href="#" class="btn-message btn btn-xs dropdown-toggle" data-toggle="dropdown">
                                                                            <i class="icon-folder-close-alt bigger-110"></i>
                                                                            <span class="bigger-110">Move to</span>

                                                                            <i class="icon-caret-down icon-on-right"></i>
                                                                        </a>

                                                                        <ul class="dropdown-menu dropdown-lighter dropdown-caret dropdown-125">
                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-stop pink2"></i>
                                                                                    &nbsp; Tag#1
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-stop blue"></i>
                                                                                    &nbsp; Family
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-stop green"></i>
                                                                                    &nbsp; Friends
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-stop grey"></i>
                                                                                    &nbsp; Work
                                                                                </a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>

                                                                    <a href="#" class="btn btn-xs btn-message">
                                                                        <i class="icon-trash bigger-125"></i>
                                                                        <span class="bigger-110">Delete</span>
                                                                    </a>
                                                                </div>
                                                            </div>

                                                            <div>
                                                                <div class="messagebar-item-left">
                                                                    <label class="inline middle">
                                                                        <input type="checkbox" id="id-toggle-all" class="ace" />
                                                                        <span class="lbl"></span>
                                                                    </label>

                                                                    &nbsp;
                                                                    <div class="inline position-relative">
                                                                        <a href="#" data-toggle="dropdown" class="dropdown-toggle">
                                                                            <i class="icon-caret-down bigger-125 middle"></i>
                                                                        </a>

                                                                        <ul class="dropdown-menu dropdown-lighter dropdown-100">
                                                                            <li>
                                                                                <a id="id-select-message-all" href="#">All</a>
                                                                            </li>

                                                                            <li>
                                                                                <a id="id-select-message-none" href="#">None</a>
                                                                            </li>

                                                                            <li class="divider"></li>

                                                                            <li>
                                                                                <a id="id-select-message-unread" href="#">Unread</a>
                                                                            </li>

                                                                            <li>
                                                                                <a id="id-select-message-read" href="#">Read</a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>
                                                                </div>

                                                                <div class="messagebar-item-right">
                                                                    <div class="inline position-relative">
                                                                        <a href="#" data-toggle="dropdown" class="dropdown-toggle">
                                                                            Sort &nbsp;
                                                                            <i class="icon-caret-down bigger-125"></i>
                                                                        </a>

                                                                        <ul class="dropdown-menu dropdown-lighter pull-right dropdown-100">
                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-ok green"></i>
                                                                                    Date
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-ok invisible"></i>
                                                                                    From
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-ok invisible"></i>
                                                                                    Subject
                                                                                </a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>
                                                                </div>

                                                                <div class="nav-search minimized">
                                                                    <form class="form-search">
                                                                        <span class="input-icon">
                                                                            <input type="text" autocomplete="off" class="input-small nav-search-input" placeholder="Search inbox ..." />
                                                                            <i class="icon-search nav-search-icon"></i>
                                                                        </span>
                                                                    </form>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div id="id-message-item-navbar" class="hide message-navbar align-center clearfix">
                                                            <div class="message-bar">
                                                                <div class="message-toolbar">
                                                                    <div class="inline position-relative align-left">
                                                                        <a href="#" class="btn-message btn btn-xs dropdown-toggle" data-toggle="dropdown">
                                                                            <span class="bigger-110">Action</span>

                                                                            <i class="icon-caret-down icon-on-right"></i>
                                                                        </a>

                                                                        <ul class="dropdown-menu dropdown-lighter dropdown-caret dropdown-125">
                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-mail-reply blue"></i>
                                                                                    &nbsp; Reply
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-mail-forward green"></i>
                                                                                    &nbsp; Forward
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-folder-open orange"></i>
                                                                                    &nbsp; Archive
                                                                                </a>
                                                                            </li>

                                                                            <li class="divider"></li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-eye-open blue"></i>
                                                                                    &nbsp; Mark as read
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-eye-close green"></i>
                                                                                    &nbsp; Mark unread
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-flag-alt red"></i>
                                                                                    &nbsp; Flag
                                                                                </a>
                                                                            </li>

                                                                            <li class="divider"></li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-trash red bigger-110"></i>
                                                                                    &nbsp; Delete
                                                                                </a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>

                                                                    <div class="inline position-relative align-left">
                                                                        <a href="#" class="btn-message btn btn-xs dropdown-toggle" data-toggle="dropdown">
                                                                            <i class="icon-folder-close-alt bigger-110"></i>
                                                                            <span class="bigger-110">Move to</span>

                                                                            <i class="icon-caret-down icon-on-right"></i>
                                                                        </a>

                                                                        <ul class="dropdown-menu dropdown-lighter dropdown-caret dropdown-125">
                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-stop pink2"></i>
                                                                                    &nbsp; Tag#1
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-stop blue"></i>
                                                                                    &nbsp; Family
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-stop green"></i>
                                                                                    &nbsp; Friends
                                                                                </a>
                                                                            </li>

                                                                            <li>
                                                                                <a href="#">
                                                                                    <i class="icon-stop grey"></i>
                                                                                    &nbsp; Work
                                                                                </a>
                                                                            </li>
                                                                        </ul>
                                                                    </div>

                                                                    <a href="#" class="btn btn-xs btn-message">
                                                                        <i class="icon-trash bigger-125"></i>
                                                                        <span class="bigger-110">Delete</span>
                                                                    </a>
                                                                </div>
                                                            </div>

                                                            <div>
                                                                <div class="messagebar-item-left">
                                                                    <a href="#" class="btn-back-message-list">
                                                                        <i class="icon-arrow-left blue bigger-110 middle"></i>
                                                                        <b class="bigger-110 middle">Back</b>
                                                                    </a>
                                                                </div>

                                                                <div class="messagebar-item-right">
                                                                    <i class="icon-time bigger-110 orange middle"></i>
                                                                    <span class="time grey">Today, 7:15 pm</span>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div id="id-message-new-navbar" class="hide message-navbar align-center clearfix">
                                                            <div class="message-bar">
                                                                <div class="message-toolbar">
                                                                    <a href="#" class="btn btn-xs btn-message">
                                                                        <i class="icon-save bigger-125"></i>
                                                                        <span class="bigger-110">Save Draft</span>
                                                                    </a>

                                                                    <a href="#" class="btn btn-xs btn-message">
                                                                        <i class="icon-remove bigger-125"></i>
                                                                        <span class="bigger-110">Discard</span>
                                                                    </a>
                                                                </div>
                                                            </div>

                                                            <div class="message-item-bar">
                                                                <div class="messagebar-item-left">
                                                                    <a href="#" class="btn-back-message-list no-hover-underline">
                                                                        <i class="icon-arrow-left blue bigger-110 middle"></i>
                                                                        <b class="middle bigger-110">Back</b>
                                                                    </a>
                                                                </div>

                                                                <div class="messagebar-item-right">
                                                                    <span class="inline btn-send-message">
                                                                        <button type="button" class="btn btn-sm btn-primary no-border">
                                                                            <span class="bigger-110">Send</span>

                                                                            <i class="icon-arrow-right icon-on-right"></i>
                                                                        </button>
                                                                    </span>
                                                                </div>
                                                            </div>
                                                        </div>

                                                        <div class="message-list-container">
                                                            <div class="message-list" id="message-list">
                                                                <div class="message-item message-unread">
                                                                    <label class="inline">
                                                                        <input type="checkbox" class="ace" />
                                                                        <span class="lbl"></span>
                                                                    </label>

                                                                    <i class="message-star icon-star orange2"></i>
                                                                    <span class="sender" title="Alex John Red Smith">Alex John Red Smith </span>
                                                                    <span class="time">1:33 pm</span>

                                                                    <span class="summary">
                                                                        <span class="text">
                                                                            Click to open this message
                                                                        </span>
                                                                    </span>
                                                                </div>

                                                                <div class="message-item message-unread">
                                                                    <label class="inline">
                                                                        <input type="checkbox" class="ace" />
                                                                        <span class="lbl"></span>
                                                                    </label>

                                                                    <i class="message-star icon-star-empty light-grey"></i>

                                                                    <span class="sender" title="John Doe">
                                                                        John Doe
                                                                        <span class="light-grey">(4)</span>
                                                                    </span>
                                                                    <span class="time">7:15 pm</span>

                                                                    <span class="attachment">
                                                                        <i class="icon-paper-clip"></i>
                                                                    </span>

                                                                    <span class="summary">
                                                                        <span class="badge badge-pink mail-tag"></span>
                                                                        <span class="text">
                                                                            Clik to open this message right here
                                                                        </span>
                                                                    </span>
                                                                </div>

                                                                <div class="message-item">
                                                                    <label class="inline">
                                                                        <input type="checkbox" class="ace" />
                                                                        <span class="lbl"></span>
                                                                    </label>

                                                                    <i class="message-star icon-star-empty light-grey"></i>
                                                                    <span class="sender" title="Philip Markov">Philip Markov </span>
                                                                    <span class="time">10:15 am</span>

                                                                    <span class="attachment">
                                                                        <i class="icon-paper-clip"></i>
                                                                    </span>

                                                                    <span class="summary">
                                                                        <span class="message-flags">
                                                                            <i class="icon-reply light-grey"></i>
                                                                        </span>
                                                                        <span class="text">
                                                                            Photo booth beard raw denim letterpress vegan
                                                                        </span>
                                                                    </span>
                                                                </div>

                                                                <div class="message-item">
                                                                    <label class="inline">
                                                                        <input type="checkbox" class="ace" />
                                                                        <span class="lbl"></span>
                                                                    </label>

                                                                    <i class="message-star icon-star orange2"></i>
                                                                    <span class="sender" title="Sabrina">Sabrina </span>
                                                                    <span class="time">Yesterday</span>

                                                                    <span class="summary">
                                                                        <span class="text">
                                                                            Nullam quis risus eget urna mollis ornare
                                                                        </span>
                                                                    </span>
                                                                </div>

                                                                <div class="message-item">
                                                                    <label class="inline">
                                                                        <input type="checkbox" class="ace" />
                                                                        <span class="lbl"></span>
                                                                    </label>

                                                                    <i class="message-star icon-star-empty light-grey"></i>
                                                                    <span class="sender" title="Philip Markov">Philip Markov </span>
                                                                    <span class="time">Yesterday</span>

                                                                    <span class="attachment">
                                                                        <i class="icon-paper-clip"></i>
                                                                    </span>

                                                                    <span class="summary">
                                                                        <span class="badge badge-success mail-tag"></span>
                                                                        <span class="text">
                                                                            Vestibulum id ligula porta felis euismod
                                                                        </span>
                                                                    </span>
                                                                </div>

                                                                <div class="message-item">
                                                                    <label class="inline">
                                                                        <input type="checkbox" class="ace" />
                                                                        <span class="lbl"></span>
                                                                    </label>

                                                                    <i class="message-star icon-star-empty light-grey"></i>
                                                                    <span class="sender" title="Doctor Gomenz">Doctor Gomenz </span>
                                                                    <span class="time">April 5</span>

                                                                    <span class="summary">
                                                                        <span class="text">
                                                                            Vim te vivendo convenire, summo fuisset
                                                                        </span>
                                                                    </span>
                                                                </div>

                                                                <div class="message-item">
                                                                    <label class="inline">
                                                                        <input type="checkbox" class="ace" />
                                                                        <span class="lbl"></span>
                                                                    </label>

                                                                    <i class="message-star icon-star-empty light-grey"></i>
                                                                    <span class="sender" title="Robin Hood">Robin Hood </span>
                                                                    <span class="time">April 4</span>

                                                                    <span class="summary">
                                                                        <span class="message-flags">
                                                                            <i class="icon-reply light-grey"></i>
                                                                        </span>
                                                                        <span class="text">
                                                                            No eos veniam equidem mentitum, his porro
                                                                        </span>
                                                                    </span>
                                                                </div>

                                                                <div class="message-item">
                                                                    <label class="inline">
                                                                        <input type="checkbox" class="ace" />
                                                                        <span class="lbl"></span>
                                                                    </label>

                                                                    <i class="message-star icon-star-empty light-grey"></i>
                                                                    <span class="sender" title="Google Inc">Google Inc </span>
                                                                    <span class="time">April 3</span>

                                                                    <span class="summary">
                                                                        <span class="badge badge-grey mail-tag"></span>
                                                                        <span class="text">
                                                                            Convallis facilisis euismod urna sodales
                                                                        </span>
                                                                    </span>
                                                                </div>

                                                                <div class="message-item">
                                                                    <label class="inline">
                                                                        <input type="checkbox" class="ace" />
                                                                        <span class="lbl"></span>
                                                                    </label>

                                                                    <i class="message-star icon-star-empty light-grey"></i>
                                                                    <span class="sender" title="Shrek">Shrek </span>
                                                                    <span class="time">March 28</span>

                                                                    <span class="attachment">
                                                                        <i class="icon-paper-clip"></i>
                                                                    </span>

                                                                    <span class="summary">
                                                                        <span class="message-flags">
                                                                            <i class="icon-flag icon-flip-horizontal light-grey"></i>
                                                                        </span>
                                                                        <span class="text">
                                                                            Photo booth beard raw denim letterpress vegan messenger
                                                                        </span>
                                                                    </span>
                                                                </div>

                                                                <div class="message-item">
                                                                    <label class="inline">
                                                                        <input type="checkbox" class="ace" />
                                                                        <span class="lbl"></span>
                                                                    </label>

                                                                    <i class="message-star icon-star-empty light-grey"></i>
                                                                    <span class="sender" title="Yahoo!">Yahoo! </span>
                                                                    <span class="time">March 27</span>

                                                                    <span class="summary">
                                                                        <span class="message-flags">
                                                                            <i class="icon-mail-forward light-grey"></i>
                                                                        </span>
                                                                        <span class="text">
                                                                            Tofu biodiesel williamsburg marfa, four loko mcsweeney
                                                                        </span>
                                                                    </span>
                                                                </div>
                                                            </div>
                                                        </div><!-- /.message-list-container -->

                                                        <div class="message-footer clearfix">
                                                            <div class="pull-left"> 151 messages total </div>

                                                            <div class="pull-right">
                                                                <div class="inline middle"> page 1 of 16 </div>

                                                                &nbsp; &nbsp;
                                                                <ul class="pagination middle">
                                                                    <li class="disabled">
                                                                        <span>
                                                                            <i class="icon-step-backward middle"></i>
                                                                        </span>
                                                                    </li>

                                                                    <li class="disabled">
                                                                        <span>
                                                                            <i class="icon-caret-left bigger-140 middle"></i>
                                                                        </span>
                                                                    </li>

                                                                    <li>
                                                                        <span>
                                                                            <input value="1" maxlength="3" type="text" />
                                                                        </span>
                                                                    </li>

                                                                    <li>
                                                                        <a href="#">
                                                                            <i class="icon-caret-right bigger-140 middle"></i>
                                                                        </a>
                                                                    </li>

                                                                    <li>
                                                                        <a href="#">
                                                                            <i class="icon-step-forward middle"></i>
                                                                        </a>
                                                                    </li>
                                                                </ul>
                                                            </div>
                                                        </div>

                                                        <div class="hide message-footer message-footer-style2 clearfix">
                                                            <div class="pull-left"> simpler footer </div>

                                                            <div class="pull-right">
                                                                <div class="inline middle"> message 1 of 151 </div>

                                                                &nbsp; &nbsp;
                                                                <ul class="pagination middle">
                                                                    <li class="disabled">
                                                                        <span>
                                                                            <i class="icon-angle-left bigger-150"></i>
                                                                        </span>
                                                                    </li>

                                                                    <li>
                                                                        <a href="#">
                                                                            <i class="icon-angle-right bigger-150"></i>
                                                                        </a>
                                                                    </li>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div><!-- /.message-container -->
                                                </div><!-- /.tab-pane -->
                                            </div><!-- /.tab-content -->
                                        </div><!-- /.tabbable -->
                                    </div><!-- /.col -->
                                </div><!-- /.row -->

                                <form id="id-message-form" class="hide form-horizontal message-form  col-xs-12">
                                    <div class="">
                                        <div class="form-group">
                                            <label class="col-sm-3 control-label no-padding-right" for="form-field-recipient">Recipient:</label>

                                            <div class="col-sm-9">
                                                <span class="input-icon">
                                                    <input type="email" name="recipient" id="form-field-recipient" data-value="alex@doe.com" value="alex@doe.com" placeholder="Recipient(s)" />
                                                    <i class="icon-user"></i>
                                                </span>
                                            </div>
                                        </div>

                                        <div class="hr hr-18 dotted"></div>

                                        <div class="form-group">
                                            <label class="col-sm-3 control-label no-padding-right" for="form-field-subject">Subject:</label>

                                            <div class="col-sm-6 col-xs-12">
                                                <div class="input-icon block col-xs-12 no-padding">
                                                    <input maxlength="100" type="text" class="col-xs-12" name="subject" id="form-field-subject" placeholder="Subject" />
                                                    <i class="icon-comment-alt"></i>
                                                </div>
                                            </div>
                                        </div>

                                        <div class="hr hr-18 dotted"></div>

                                        <div class="form-group">
                                            <label class="col-sm-3 control-label no-padding-right">
                                                <span class="inline space-24 hidden-480"></span>
                                                Message:
                                            </label>

                                            <div class="col-sm-9">
                                                <div class="wysiwyg-editor"></div>
                                            </div>
                                        </div>

                                        <div class="hr hr-18 dotted"></div>

                                        <div class="form-group no-margin-bottom">
                                            <label class="col-sm-3 control-label no-padding-right">Attachments:</label>

                                            <div class="col-sm-9">
                                                <div id="form-attachments">
                                                    <input type="file" name="attachment[]" />
                                                </div>
                                            </div>
                                        </div>

                                        <div class="align-right">
                                            <button id="id-add-attachment" type="button" class="btn btn-sm btn-danger">
                                                <i class="icon-paper-clip bigger-140"></i>
                                                Add Attachment
                                            </button>
                                        </div>

                                        <div class="space"></div>
                                    </div>
                                </form>

                                <div class="hide message-content" id="id-message-content">
                                    <div class="message-header clearfix">
                                        <div class="pull-left">
                                            <span class="blue bigger-125"> Clik to open this message </span>

                                            <div class="space-4"></div>

                                            <i class="icon-star orange2 mark-star"></i>

                                            &nbsp;
                                            <img class="middle" alt="John's Avatar" src="assets/avatars/avatar.png" width="32" />
                                            &nbsp;
                                            <a href="#" class="sender">John Doe</a>

                                            &nbsp;
                                            <i class="icon-time bigger-110 orange middle"></i>
                                            <span class="time">Today, 7:15 pm</span>
                                        </div>

                                        <div class="action-buttons pull-right">
                                            <a href="#">
                                                <i class="icon-reply green icon-only bigger-130"></i>
                                            </a>

                                            <a href="#">
                                                <i class="icon-mail-forward blue icon-only bigger-130"></i>
                                            </a>

                                            <a href="#">
                                                <i class="icon-trash red icon-only bigger-130"></i>
                                            </a>
                                        </div>
                                    </div>

                                    <div class="hr hr-double"></div>

                                    <div class="message-body">
                                        <p>
                                            Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
                                        </p>

                                        <p>
                                            Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
                                        </p>

                                        <p>
                                            Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
                                        </p>

                                        <p>
                                            Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
                                        </p>

                                        <p>
                                            Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
                                        </p>

                                        <p>
                                            Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
                                        </p>
                                    </div>

                                    <div class="hr hr-double"></div>

                                    <div class="message-attachment clearfix">
                                        <div class="attachment-title">
                                            <span class="blue bolder bigger-110">Attachments</span>
                                            &nbsp;
                                            <span class="grey">(2 files, 4.5 MB)</span>

                                            <div class="inline position-relative">
                                                <a href="#" data-toggle="dropdown" class="dropdown-toggle">
                                                    &nbsp;
                                                    <i class="icon-caret-down bigger-125 middle"></i>
                                                </a>

                                                <ul class="dropdown-menu dropdown-lighter">
                                                    <li>
                                                        <a href="#">Download all as zip</a>
                                                    </li>

                                                    <li>
                                                        <a href="#">Display in slideshow</a>
                                                    </li>
                                                </ul>
                                            </div>
                                        </div>

                                        &nbsp;
                                        <ul class="attachment-list pull-left list-unstyled">
                                            <li>
                                                <a href="#" class="attached-file inline">
                                                    <i class="icon-file-alt bigger-110 middle"></i>
                                                    <span class="attached-name middle">Document1.pdf</span>
                                                </a>

                                                <div class="action-buttons inline">
                                                    <a href="#">
                                                        <i class="icon-download-alt bigger-125 blue"></i>
                                                    </a>

                                                    <a href="#">
                                                        <i class="icon-trash bigger-125 red"></i>
                                                    </a>
                                                </div>
                                            </li>

                                            <li>
                                                <a href="#" class="attached-file inline">
                                                    <i class="icon-film bigger-110 middle"></i>
                                                    <span class="attached-name middle">Sample.mp4</span>
                                                </a>

                                                <div class="action-buttons inline">
                                                    <a href="#">
                                                        <i class="icon-download-alt bigger-125 blue"></i>
                                                    </a>

                                                    <a href="#">
                                                        <i class="icon-trash bigger-125 red"></i>
                                                    </a>
                                                </div>
                                            </li>
                                        </ul>

                                        <div class="attachment-images pull-right">
                                            <div class="vspace-sm-4"></div>

                                            <div>
                                                <img width="36" alt="image 4" src="assets/images/gallery/thumb-4.jpg" />
                                                <img width="36" alt="image 3" src="assets/images/gallery/thumb-3.jpg" />
                                                <img width="36" alt="image 2" src="assets/images/gallery/thumb-2.jpg" />
                                                <img width="36" alt="image 1" src="assets/images/gallery/thumb-1.jpg" />
                                            </div>
                                        </div>
                                    </div>
                                </div><!-- /.message-content -->

                                <!-- PAGE CONTENT ENDS -->
                            </div><!-- /.col -->
                        </div><!-- /.row -->
                    </div><!-- /.page-content -->
                </div><!-- /.main-content -->

                <div class="ace-settings-container" id="ace-settings-container">
                    <div class="btn btn-app btn-xs btn-warning ace-settings-btn" id="ace-settings-btn">
                        <i class="icon-cog bigger-150"></i>
                    </div>

                    <div class="ace-settings-box" id="ace-settings-box">
                        <div>
                            <div class="pull-left">
                                <select id="skin-colorpicker" class="hide">
                                    <option data-skin="default" value="#438EB9">#438EB9</option>
                                    <option data-skin="skin-1" value="#222A2D">#222A2D</option>
                                    <option data-skin="skin-2" value="#C6487E">#C6487E</option>
                                    <option data-skin="skin-3" value="#D0D0D0">#D0D0D0</option>
                                </select>
                            </div>
                            <span>&nbsp; Choose Skin</span>
                        </div>

                        <div>
                            <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-navbar" />
                            <label class="lbl" for="ace-settings-navbar"> Fixed Navbar</label>
                        </div>

                        <div>
                            <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-sidebar" />
                            <label class="lbl" for="ace-settings-sidebar"> Fixed Sidebar</label>
                        </div>

                        <div>
                            <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-breadcrumbs" />
                            <label class="lbl" for="ace-settings-breadcrumbs"> Fixed Breadcrumbs</label>
                        </div>

                        <div>
                            <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-rtl" />
                            <label class="lbl" for="ace-settings-rtl"> Right To Left (rtl)</label>
                        </div>

                        <div>
                            <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-add-container" />
                            <label class="lbl" for="ace-settings-add-container">
                                Inside
                                <b>.container</b>
                            </label>
                        </div>
                    </div>
                </div><!-- /#ace-settings-container -->
            </div><!-- /.main-container-inner -->

            <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
                <i class="icon-double-angle-up icon-only bigger-110"></i>
            </a>
        </div><!-- /.main-container -->

        <!-- basic scripts -->

        <!--[if !IE]> -->

        <script type="text/javascript">
            window.jQuery || document.write("<script src='assets/js/jquery-2.0.3.min.js'>" + "<" + "/script>");
        </script>

        <!-- <![endif]-->

        <!--[if IE]>
<script type="text/javascript">
window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->

        <script type="text/javascript">
            if ("ontouchend" in document)
                document.write("<script src='assets/js/jquery.mobile.custom.min.js'>" + "<" + "/script>");
        </script>
        <script src="assets/js/bootstrap.min.js"></script>
        <script src="assets/js/typeahead-bs2.min.js"></script>

        <!-- page specific plugin scripts -->

        <script src="assets/js/bootstrap-tag.min.js"></script>
        <script src="assets/js/jquery.hotkeys.min.js"></script>
        <script src="assets/js/bootstrap-wysiwyg.min.js"></script>
        <script src="assets/js/jquery-ui-1.10.3.custom.min.js"></script>
        <script src="assets/js/jquery.ui.touch-punch.min.js"></script>
        <script src="assets/js/jquery.slimscroll.min.js"></script>

        <!-- ace scripts -->

        <script src="assets/js/ace-elements.min.js"></script>
        <script src="assets/js/ace.min.js"></script>

        <!-- inline scripts related to this page -->

        <script type="text/javascript">
            jQuery(function($) {

                //handling tabs and loading/displaying relevant messages and forms
                //not needed if using the alternative view, as described in docs
                var prevTab = 'inbox'
                $('#inbox-tabs a[data-toggle="tab"]').on('show.bs.tab', function(e) {
                    var currentTab = $(e.target).data('target');
                    if (currentTab == 'write') {
                        Inbox.show_form();
                    }
                    else {
                        if (prevTab == 'write')
                            Inbox.show_list();

                        //load and display the relevant messages 
                    }
                    prevTab = currentTab;
                })



                //basic initializations
                $('.message-list .message-item input[type=checkbox]').removeAttr('checked');
                $('.message-list').delegate('.message-item input[type=checkbox]', 'click', function() {
                    $(this).closest('.message-item').toggleClass('selected');
                    if (this.checked)
                        Inbox.display_bar(1);//display action toolbar when a message is selected
                    else {
                        Inbox.display_bar($('.message-list input[type=checkbox]:checked').length);
                        //determine number of selected messages and display/hide action toolbar accordingly
                    }
                });


                //check/uncheck all messages
                $('#id-toggle-all').removeAttr('checked').on('click', function() {
                    if (this.checked) {
                        Inbox.select_all();
                    } else
                        Inbox.select_none();
                });

                //select all
                $('#id-select-message-all').on('click', function(e) {
                    e.preventDefault();
                    Inbox.select_all();
                });

                //select none
                $('#id-select-message-none').on('click', function(e) {
                    e.preventDefault();
                    Inbox.select_none();
                });

                //select read
                $('#id-select-message-read').on('click', function(e) {
                    e.preventDefault();
                    Inbox.select_read();
                });

                //select unread
                $('#id-select-message-unread').on('click', function(e) {
                    e.preventDefault();
                    Inbox.select_unread();
                });

                /////////

                //display first message in a new area
                $('.message-list .message-item:eq(0) .text').on('click', function() {
                    //show the loading icon
                    $('.message-container').append('<div class="message-loading-overlay"><i class="icon-spin icon-spinner orange2 bigger-160"></i></div>');

                    $('.message-inline-open').removeClass('message-inline-open').find('.message-content').remove();

                    var message_list = $(this).closest('.message-list');

                    //some waiting
                    setTimeout(function() {

                        //hide everything that is after .message-list (which is either .message-content or .message-form)
                        message_list.next().addClass('hide');
                        $('.message-container').find('.message-loading-overlay').remove();

                        //close and remove the inline opened message if any!

                        //hide all navbars
                        $('.message-navbar').addClass('hide');
                        //now show the navbar for single message item
                        $('#id-message-item-navbar').removeClass('hide');

                        //hide all footers
                        $('.message-footer').addClass('hide');
                        //now show the alternative footer
                        $('.message-footer-style2').removeClass('hide');


                        //move .message-content next to .message-list and hide .message-list
                        message_list.addClass('hide').after($('.message-content')).next().removeClass('hide');

                        //add scrollbars to .message-body
                        $('.message-content .message-body').slimScroll({
                            height: 200,
                            railVisible: true
                        });

                    }, 500 + parseInt(Math.random() * 500));
                });


                //display second message right inside the message list
                $('.message-list .message-item:eq(1) .text').on('click', function() {
                    var message = $(this).closest('.message-item');

                    //if message is open, then close it
                    if (message.hasClass('message-inline-open')) {
                        message.removeClass('message-inline-open').find('.message-content').remove();
                        return;
                    }

                    $('.message-container').append('<div class="message-loading-overlay"><i class="icon-spin icon-spinner orange2 bigger-160"></i></div>');
                    setTimeout(function() {
                        $('.message-container').find('.message-loading-overlay').remove();
                        message
                                .addClass('message-inline-open')
                                .append('<div class="message-content" />')
                        var content = message.find('.message-content:last').html($('#id-message-content').html());

                        content.find('.message-body').slimScroll({
                            height: 200,
                            railVisible: true
                        });

                    }, 500 + parseInt(Math.random() * 500));

                });



                //back to message list
                $('.btn-back-message-list').on('click', function(e) {
                    e.preventDefault();
                    Inbox.show_list();
                    $('#inbox-tabs a[data-target="inbox"]').tab('show');
                });



                //hide message list and display new message form
                /**
                 $('.btn-new-mail').on('click', function(e){
                 e.preventDefault();
                 Inbox.show_form();
                 });
                 */




                var Inbox = {
                    //displays a toolbar according to the number of selected messages
                    display_bar: function(count) {
                        if (count == 0) {
                            $('#id-toggle-all').removeAttr('checked');
                            $('#id-message-list-navbar .message-toolbar').addClass('hide');
                            $('#id-message-list-navbar .message-infobar').removeClass('hide');
                        }
                        else {
                            $('#id-message-list-navbar .message-infobar').addClass('hide');
                            $('#id-message-list-navbar .message-toolbar').removeClass('hide');
                        }
                    }
                    ,
                    select_all: function() {
                        var count = 0;
                        $('.message-item input[type=checkbox]').each(function() {
                            this.checked = true;
                            $(this).closest('.message-item').addClass('selected');
                            count++;
                        });

                        $('#id-toggle-all').get(0).checked = true;

                        Inbox.display_bar(count);
                    }
                    ,
                    select_none: function() {
                        $('.message-item input[type=checkbox]').removeAttr('checked').closest('.message-item').removeClass('selected');
                        $('#id-toggle-all').get(0).checked = false;

                        Inbox.display_bar(0);
                    }
                    ,
                    select_read: function() {
                        $('.message-unread input[type=checkbox]').removeAttr('checked').closest('.message-item').removeClass('selected');

                        var count = 0;
                        $('.message-item:not(.message-unread) input[type=checkbox]').each(function() {
                            this.checked = true;
                            $(this).closest('.message-item').addClass('selected');
                            count++;
                        });
                        Inbox.display_bar(count);
                    }
                    ,
                    select_unread: function() {
                        $('.message-item:not(.message-unread) input[type=checkbox]').removeAttr('checked').closest('.message-item').removeClass('selected');

                        var count = 0;
                        $('.message-unread input[type=checkbox]').each(function() {
                            this.checked = true;
                            $(this).closest('.message-item').addClass('selected');
                            count++;
                        });

                        Inbox.display_bar(count);
                    }
                }

                //show message list (back from writing mail or reading a message)
                Inbox.show_list = function() {
                    $('.message-navbar').addClass('hide');
                    $('#id-message-list-navbar').removeClass('hide');

                    $('.message-footer').addClass('hide');
                    $('.message-footer:not(.message-footer-style2)').removeClass('hide');

                    $('.message-list').removeClass('hide').next().addClass('hide');
                    //hide the message item / new message window and go back to list
                }

                //show write mail form
                Inbox.show_form = function() {
                    if ($('.message-form').is(':visible'))
                        return;
                    if (!form_initialized) {
                        initialize_form();
                    }


                    var message = $('.message-list');
                    $('.message-container').append('<div class="message-loading-overlay"><i class="icon-spin icon-spinner orange2 bigger-160"></i></div>');

                    setTimeout(function() {
                        message.next().addClass('hide');

                        $('.message-container').find('.message-loading-overlay').remove();

                        $('.message-list').addClass('hide');
                        $('.message-footer').addClass('hide');
                        $('.message-form').removeClass('hide').insertAfter('.message-list');

                        $('.message-navbar').addClass('hide');
                        $('#id-message-new-navbar').removeClass('hide');


                        //reset form??
                        $('.message-form .wysiwyg-editor').empty();

                        $('.message-form .ace-file-input').closest('.file-input-container:not(:first-child)').remove();
                        $('.message-form input[type=file]').ace_file_input('reset_input');

                        $('.message-form').get(0).reset();

                    }, 300 + parseInt(Math.random() * 300));
                }




                var form_initialized = false;
                function initialize_form() {
                    if (form_initialized)
                        return;
                    form_initialized = true;

                    //intialize wysiwyg editor
                    $('.message-form .wysiwyg-editor').ace_wysiwyg({
                        toolbar:
                                [
                                    'bold',
                                    'italic',
                                    'strikethrough',
                                    'underline',
                                    null,
                                    'justifyleft',
                                    'justifycenter',
                                    'justifyright',
                                    null,
                                    'createLink',
                                    'unlink',
                                    null,
                                    'undo',
                                    'redo'
                                ]
                    }).prev().addClass('wysiwyg-style1');

                    //file input
                    $('.message-form input[type=file]').ace_file_input()
                            //and the wrap it inside .span7 for better display, perhaps
                            .closest('.ace-file-input').addClass('width-90 inline').wrap('<div class="row file-input-container"><div class="col-sm-7"></div></div>');

                    //the button to add a new file input
                    $('#id-add-attachment').on('click', function() {
                        var file = $('<input type="file" name="attachment[]" />').appendTo('#form-attachments');
                        file.ace_file_input();
                        file.closest('.ace-file-input').addClass('width-90 inline').wrap('<div class="row file-input-container"><div class="col-sm-7"></div></div>')
                                .parent(/*.span7*/).append('<div class="action-buttons pull-right col-xs-1">\
                                                <a href="#" data-action="delete" class="middle">\
                                                        <i class="icon-trash red bigger-130 middle"></i>\
                                                </a>\
                                        </div>').find('a[data-action=delete]').on('click', function(e) {
                            //the button that removes the newly inserted file input
                            e.preventDefault();
                            $(this).closest('.row').hide(300, function() {
                                $(this).remove();
                            });
                        });
                    });
                }//initialize_form


                //turn the recipient field into a tag input field!
                /**	
                 var tag_input = $('#form-field-recipient');
                 if(! ( /msie\s*(8|7|6)/.test(navigator.userAgent.toLowerCase())) ) 
                 tag_input.tag({placeholder:tag_input.attr('placeholder')});
                         
                         
                 //and add form reset functionality
                 $('.message-form button[type=reset]').on('click', function(){
                 $('.message-form .message-body').empty();
                         
                 $('.message-form .ace-file-input:not(:first-child)').remove();
                 $('.message-form input[type=file]').ace_file_input('reset_input');
                         
                         
                 var val = tag_input.data('value');
                 tag_input.parent().find('.tag').remove();
                 $(val.split(',')).each(function(k,v){
                 tag_input.before('<span class="tag">'+v+'<button class="close" type="button">&times;</button></span>');
                 });
                 });
                 */

            });
        </script>
    </body>
</html>
